package com.ruoyi.system.domain.honor.studenthonor;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 在校生代性成果对象 student_achievements
 * 
 * @author ruoyi
 * @date 2025-08-05
 */
public class StudentAchievements extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 成果ID */
    @Excel(name = "成果ID")
    private String achievementName;

    /** 姓名 */
    @Excel(name = "姓名")
    private Long studentId;

    /** 成果类别 */
    @Excel(name = "成果类别")
    private Long achievementCategory;

    /** 获得时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "获得时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date obtainmentTime;

    /** 成果简介 */
    @Excel(name = "成果简介")
    private String achievementBrief;

    /** 学生参与情况 */
    @Excel(name = "学生参与情况")
    private String studentParticipation;

    /** 附件 */
    @Excel(name = "附件")
    private String attachment;

    /** 教师id */
    @Excel(name = "教师id")
    private Long teacherId;

    /** 教师名字 */
    @Excel(name = "教师名字")
    private String teacherName;
    //学生名字
    private String studentName;
    //入学时间
    private Date enrollmentTime;

    /** 学位类型 */
    private String degreeType;

    /** 学习方式 */
    private String learningMethod;

    /** 开始时间 */
    private Date beginTime;
    /** 结束时间 */
    private Date endTime;
    /** 当前角色 */
    private String currentRole;
    /** 部门id */
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }



    public void setAchievementCategory(Long achievementCategory) 
    {
        this.achievementCategory = achievementCategory;
    }

    public Long getAchievementCategory() 
    {
        return achievementCategory;
    }

    public void setObtainmentTime(Date obtainmentTime) 
    {
        this.obtainmentTime = obtainmentTime;
    }

    public Date getObtainmentTime() 
    {
        return obtainmentTime;
    }

    public void setAchievementBrief(String achievementBrief) 
    {
        this.achievementBrief = achievementBrief;
    }

    public String getAchievementBrief() 
    {
        return achievementBrief;
    }

    public void setStudentParticipation(String studentParticipation) 
    {
        this.studentParticipation = studentParticipation;
    }

    public String getStudentParticipation() 
    {
        return studentParticipation;
    }

    public void setAttachment(String attachment) 
    {
        this.attachment = attachment;
    }

    public String getAttachment() 
    {
        return attachment;
    }

    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }

    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("achievementName", getAchievementName())
            .append("studentId", getStudentId())
            .append("achievementCategory", getAchievementCategory())
            .append("obtainmentTime", getObtainmentTime())
            .append("achievementBrief", getAchievementBrief())
            .append("studentParticipation", getStudentParticipation())
            .append("attachment", getAttachment())
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .toString();
    }

    public String getAchievementName() {
        return achievementName;
    }

    public void setAchievementName(String achievementName) {
        this.achievementName = achievementName;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }


    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getCurrentRole() {
        return currentRole;
    }

    public void setCurrentRole(String currentRole) {
        this.currentRole = currentRole;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Date getEnrollmentTime() {
        return enrollmentTime;
    }

    public void setEnrollmentTime(Date enrollmentTime) {
        this.enrollmentTime = enrollmentTime;
    }

    public String getDegreeType() {
        return degreeType;
    }

    public void setDegreeType(String degreeType) {
        this.degreeType = degreeType;
    }

    public String getLearningMethod() {
        return learningMethod;
    }

    public void setLearningMethod(String learningMethod) {
        this.learningMethod = learningMethod;
    }
}
